<%@page import="com.wanmait.hotelManage.vo.Userinfo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
	
Userinfo userinfo=(Userinfo)request.getSession().getAttribute("userinfo");
	System.out.print(userinfo);
%>
   <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
        <title>Mentoring - Profile</title>
		<% String path=request.getContextPath(); %>
		<!-- Favicon -->
        <link rel="shortcut icon" type="image/x-icon" href="assets/favicon.png">
		
		<!-- Bootstrap CSS -->
        <link rel="stylesheet" href="<%=path %>/static/assets/css/bootstrap.min.css">
		
		<!-- Fontawesome CSS -->
        <link rel="stylesheet" href="<%=path %>/static/assets/css/font-awesome.min.css">
		
		<!-- Feathericon CSS -->
        <link rel="stylesheet" href="<%=path %>/static/assets/css/feathericon.min.css">
		
		<!-- Main CSS -->
        <link rel="stylesheet" href="<%=path %>/static/assets/css/style.css">
		
		<!--[if lt IE 9]>
			<script src="assets/js/html5shiv.min.js"></script>
			<script src="assets/js/respond.min.js"></script>
		<![endif]-->
    </head>
    <body>
	
		<!-- Main Wrapper -->
        <div class="main-wrapper">
		
			<!-- Header -->
            <div class="header">
			
				<!-- Logo -->
                <div class="header-left">
                    <a href="<%=path %>" class="logo">
						<img src="<%=path %>/static/assets/img/logo.png" alt="Logo">
					</a>
					<a href="<%=path %>" class="logo logo-small">
						<img src="<%=path %>/static/assets/img/logo-small.png" alt="Logo" width="30" height="30">
					</a>
                </div>
				<!-- /Logo -->
				
				<a href="javascript:void(0);" id="toggle_btn">
					<i class="fe fe-text-align-left"></i>
				</a>
				<!-- 搜索 -->
				<!-- <div class="top-nav-search">
					<form>
						<input type="text" class="form-control" placeholder="Search here">
						<button class="btn" type="submit"><i class="fa fa-search"></i></button>
					</form>
				</div> -->
				
				
				
                <!--顶部右侧 -->
                <ul class="nav user-menu">

                    <!-- 消息-->
                    <li class="nav-item dropdown has-arrow">
                        <a href="#" class=" nav-link" data-toggle="dropdown">
                            <i class="fe fe-bell"></i> <span class="badge badge-pill">3</span>
                        </a>
                        <div class="dropdown-menu">
                            
                            <a class="dropdown-item" href="<%=path%>/OrderServlet?action=myorder">我的订单</a>
                            <a class="dropdown-item" href="<%=request.getContextPath()%>/Front/center/message.jsp">全部消息</a>
                        </div>
                    </li>
                    <!-- /Notifications -->

                    <!-- 用户 -->
                    <li class="nav-item dropdown has-arrow">
                        <a href="#" class="dropdown-toggle nav-link" data-toggle="dropdown">
                            <span class="user-img"><img class="rounded-circle" src="<%=path %>/static/images/touxiang/<%=userinfo.getPic() %>" width="31" alt="Ryan Taylor"></span>
                        </a>
                        <div class="dropdown-menu">
                            <div class="user-header">
                                <div class="avatar avatar-sm">
<<<<<<< HEAD
                                
                                    <img src="<%=path %>/static/assets/img/profiles/avatar-12.jpg" alt="User Image" class="avatar-img rounded-circle">
=======
                                    <img src="<%=path %>/static/images/touxiang/<%=userinfo.getPic()%>"  class="avatar-img rounded-circle">
>>>>>>> branch 'master' of https://gitee.com/feezy/hotel-manage.git
                                </div>
                                <div class="user-text">
                                    <h6>Allen Davis</h6>
                                    <p class="text-muted mb-0">Administrator</p>
                                </div>
                            </div>
                            <a class="dropdown-item" href="profile.html">个人中心</a>
                            <a class="dropdown-item" href="settings.html">设置</a>
                            <a class="dropdown-item" href="login.html">退出</a>
                        </div>
                    </li>
                    <!-- /User Menu -->

                </ul>
                <!-- /Header Right Menu -->
				
            </div>